<template>
  <div class="container">
    <div class="img">
      <img :src="ImgBaseUrl+'shangcheng/zhifuchenggong@2x.png'"
           alt=""
           class="icon">
      <p class="tip">评价成功</p>
      <p class="text">春风十里不如您的一句满意～</p>
      <button class="btn"
              @click="toSub_detail">
        <!-- <a :href="'/pages/booking/main'"> -->
        完成
        <!-- </a> -->
      </button>
    </div>
  </div>
</template>
<script>
export default {
  data () {
    return {
      imgUrl: "https://img.ameimeika.com/",
      ImgBaseUrl: "https://h5.ameimeika.com/mp_images/",
      isdisabled: false,
      id: ""
    };
  },
  onLoad: function (options) {
    wx.setNavigationBarTitle({
      title: "评价成功"
    });
    this.id = options.sco; //打星页面传过来的id
  },
  mounted (options) { },
  methods: {
    toSub_detail () {
      wx.navigateBack({
        delta: 1 //返回的页面数，如果 delta 大于现有页面数，则返回到首页,
      });
    }
  }
};
</script>
<style scoped>
.container {
  width: 100%;
  height: 100%;
  position: relative;
}
.img {
  width: 100%;
  margin-top: 78px;
  text-align: center;
}
.icon {
  width: 105px;
  height: 105px;
}
.tip {
  font-size: 17px;
  color: #f64665;
}
.btn {
  width: 180px;
  height: 40px;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(
    180deg,
    rgba(255, 152, 170, 1),
    rgba(246, 70, 101, 1)
  );
  border-radius: 20px;
  margin-top: 55px;
}
.text {
  font-size: 16px;
  color: #989898;
}
</style>


